package com.woniuxy.myshop.service;

import com.woniuxy.myshop.entity.Address;
import com.woniuxy.myshop.mapper.AddressMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressService {

    @Autowired
    AddressMapper addressMapper ;

    public List<Address> queryMyAddress(Integer id) {
        return addressMapper.selectMyAddress(id);
    }
}
